home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2004 #2
/
Amiga Plus CD - 2004 - No. 02.iso
/
AmiSoft
/
Misc
/
emu
/
Wzonka-Lad.lha
/
Wzonka-Lad
/
src
/
routines
/
load!bitplanes.S
< prev
Wrap
Text File
|
1997-02-07
|
525b
|
19 lines
;»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»
; set bitplane pointers
; d0 - view area's beginning.
; d1 - the number of planes.
; d2 - modulus.
; a0 - copper list's beginning.
;»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»
load_bitplanes:
LoadBitplanes: move.w d0,6(a0) ;load pointers into.
swap d0 ;the given list.
move.w d0,2(a0)
swap d0
add.l d2,d0 ;next plane.
addq.l #8,a0 ;next in copper list.
dbra d1,LoadBitplanes
rts